using System.Collections.Generic;
using System;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Identity;

namespace bookmeetingroom.Data.Entities
{
    public class ApplicationUser : IdentityUser<int>
    {
        [StringLength(100)]
        [Display(Name = "全名")]
        public string FullName { get; set; }

        [StringLength(300)]
        [Display(Name = "头像")]
        public string Avatar { get; set; }

        public DateTime BirthDate { get; set; }

        public int Gender { get; set; }

        public string Hobbies { get; set; }

        public Guid? CompanyId { get; set; }

        public Company Company { get; set; }

        public DateTime CreatedTime { get; set; }

        public List<Booking> Bookings { get; set; } = new List<Booking>();

        public List<Feedback> Feedbacks { get; set; } = new List<Feedback>();






    }
}